package com.liseen.events
{
	import com.liseen.loader.LoadItem;
	
	import flash.events.ErrorEvent;
	import flash.events.Event;
	
	public class CgLoaderEvent extends Event
	{
		public static const CG_ITEM_LOADED:String = "cg_itemLoaded";
		public static const CG_ITEM_LOADING:String = "cg_itemLoading";
		public static const CG_ITEM_LOADERROR:String = "cg_itemLoadError";
		
		public var loadItem:LoadItem;
		public var error:ErrorEvent;
		public function CgLoaderEvent(type:String,item:LoadItem=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			loadItem = item;
			super(type, bubbles, cancelable);
		}
	}
}